/**
 * 
 */
package pms.dto;


import pms.om.Event;
import pms.om.Theater;
/**
 * Data transfer object
 * used to represent a an event.
 * @author KRS DEV Team (krsdevteam@PMSWIbb2011SS.de)
 */
public class EventTheaterDTO {
	private int id;
	private String datum;
	private String uhrzeit;
	private String preis_loge;
	private String preis_reg;
	private String event_name;
	private String theater_name;
	private int theater_id;
	private int plaetze_loge;
	private int plaetze_reg;

	public EventTheaterDTO(Event e, Theater t) {
		
		id = e.getId();
		setPreis_loge(e.getPreis_loge());
		setPreis_reg(e.getPreis_reg());
		setDatum(e.getDatum());
		setUhrzeit(e.getZeit());
		setEvent_name(e.getName());
		setTheater_name(t.getName());
		setTheater_id(t.getId());
		setPlaetze_reg(e.getPlaetze_reg());
		setPlaetze_loge(e.getPlaetze_loge());
	}

	public void setDatum(String datum) {
		this.datum = datum;
	}

	public String getDatum() {
		return datum;
	}

	public void setUhrzeit(String uhrzeit) {
		this.uhrzeit = uhrzeit;
	}

	public String getUhrzeit() {
		return uhrzeit;
	}

	

	public void setEvent_name(String event_name) {
		this.event_name = event_name;
	}

	public String getEvent_name() {
		return event_name;
	}

	
	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setPreis_loge(String preis_loge) {
		this.preis_loge = preis_loge;
	}

	public String getPreis_loge() {
		return preis_loge;
	}

	public void setPreis_reg(String preis_reg) {
		this.preis_reg = preis_reg;
	}

	public String getPreis_reg() {
		return preis_reg;
	}

	public void setTheater_id(int theater_id) {
		this.theater_id = theater_id;
	}

	public int getTheater_id() {
		return theater_id;
	}

	public void setTheater_name(String theater_name) {
		this.theater_name = theater_name;
	}

	public String getTheater_name() {
		return theater_name;
	}

	public void setPlaetze_loge(int plaetze_loge) {
		this.plaetze_loge = plaetze_loge;
	}

	public int getPlaetze_loge() {
		return plaetze_loge;
	}

	public void setPlaetze_reg(int plaetze_reg) {
		this.plaetze_reg = plaetze_reg;
	}

	public int getPlaetze_reg() {
		return plaetze_reg;
	}
	
	
}